package com.xsmart.oa.api;

import com.xsmart.common.entity.RequestBean;
import com.xsmart.common.entity.ResponseBean;
import com.xsmart.oa.services.DistributeOrderExcelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpServletRequest;

/**
 * @author pansheng
 */
@RestController
@RequestMapping("/api")
public class DistributeOrderExcelController {


    @Autowired
    DistributeOrderExcelService distributeOrderExcelService;

    @PostMapping(value = "/v1/DistributeOrderExcelService/queryOrderExcel")
    public ResponseBean queryOrderExcel(@ModelAttribute RequestBean requestBean, HttpServletRequest request) {
        return distributeOrderExcelService.queryOrderExcel(requestBean);
    }


}
